


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<!-- SEO单页 -->
<title>{$page.seo_title}</title>
  <meta name="keywords" content="{$page.seo_keywords}" />
  <meta name="description" content="{$page.seo_description}" />

<include file='public@head'/>

</head>

<body >
    
 <include file='public@header'/>
{$page.post_title}

{$page.post_content}



 <div id="allmap" style="height:480px;">
                            
        </div>
        <script type="text/javascript" src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=0QD0Ze9b1rP0nunq7QWUwYigFfGG1OxW"></script>
      <script type="text/javascript">
        // 百度地图API功能
        var map = new BMapGL.Map("allmap");
        var point = new BMapGL.Point(113.713945,34.72965);
        map.centerAndZoom(point, 15);
        
        var marker = new BMapGL.Marker(point);  // 创建标注
        map.addOverlay(marker);              // 将标注添加到地图中
        map.enableScrollWheelZoom(true);
        var opts = {
            width : 200,     // 信息窗口宽度
            height: 100,     // 信息窗口高度
            title : "{$site_info.site_name} " , // 信息窗口标题
            message:"{$site_info.site_address}"
        }
        var infoWindow = new BMapGL.InfoWindow("{$site_info.site_address}", opts);  // 创建信息窗口对象
        map.openInfoWindow(infoWindow, point);
        marker.addEventListener("click", function(){          
            map.openInfoWindow(infoWindow, point); //开启信息窗口
        }); 
    </script>

    
{$site_info.site_name} 

{$site_info.site_address}

{$site_info.site_mobile}

{$site_info.site_phone}

{$site_info.site_username}

    


<include file='public@footer'/>


</body>
</html>


